package sz.com.postoffice.jxyzwgcase.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 描述:
 *
 * @author baiyu, du
 * @date 2020/12/15 9:13
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OperationTargetReturn implements Serializable {

    /**
     * 统计时间
     */
    private String date;

    /**
     * 统计范围，日，周，月
     */
    private String type;
    @ApiModelProperty("城市code")
    private String cityCode;
    @ApiModelProperty("城市名称")
    private String cityName;
    @ApiModelProperty("营业部code")
    private String deptCode;
    @ApiModelProperty("营业部名称")
    private String deptName;
    @ApiModelProperty("签到打卡使用人数")
    private Integer signInCount;
    @ApiModelProperty("签到打卡使用率")
    private String signInPercent = "0%";
    @ApiModelProperty("企业建档使用人数")
    private Integer enterpriseRecordCount;
    @ApiModelProperty("企业建档使用率")
    private String enterpriseRecordPercent = "0%";
    @ApiModelProperty("资源走访使用人数")
    private Integer visitCount;
    @ApiModelProperty("资源走访使用率")
    private String visitPercent = "0%";

    @ApiModelProperty("APP活跃用户数")
    private Integer activeUserCount;
    @ApiModelProperty(" APP活跃用户占比")
    private String activeUserPercent = "0%";

    @ApiModelProperty("薪资测算使用人数")
    private Integer salaryForecastCount;
    @ApiModelProperty("薪资测算使用率")
    private String salaryForecastPercent = "0%";

    @ApiModelProperty("投递质量提单数")
    private Integer oneDeliveryCount;
    @ApiModelProperty("投递质量使用人数")
    private Integer oneDelivery;
    @ApiModelProperty("投递质量使用率")
    private String oneDeliveryPercent = "0%";

    @ApiModelProperty("邮件查询提单数")
    private Integer oneEmailQueryCount;
    @ApiModelProperty("邮件查询使用人数")
    private Integer oneEmailQuery;
    @ApiModelProperty("邮件查询使用率")
    private String oneEmailQueryPercent = "0%";

    @ApiModelProperty("揽收质量提单数")
    private Integer oneCollectCount;
    @ApiModelProperty("揽收质量使用人数")
    private Integer oneCollect;
    @ApiModelProperty("揽收质量使用率")
    private String oneCollectPercent = "0%";

    @ApiModelProperty("走访客户数")
    private Integer visitCustomerCount;
    @ApiModelProperty("新增建档客户数")
    private Integer increaseCustomerCount;

    @ApiModelProperty("投递问题及时关闭率")
    private String oneDeliveryPercentClose24 = "0%";
    @ApiModelProperty("邮件直查及时关闭率")
    private String oneEmailQueryPercentClose24 = "0%";
    @ApiModelProperty("揽收问题及时关闭率")
    private String oneCollectPercentClose24 = "0%";

    @ApiModelProperty("新增签约客户数")
    private Integer signCustomerCount;

    @ApiModelProperty("通知使用人数")
    private Integer noticeCount=0;
    @ApiModelProperty("工作日报使用人数")
    private Integer workDailyCount=0;
    @ApiModelProperty("任务使用人数")
    private Integer dailyTaskCount=0;
    @ApiModelProperty("app使用人数")
    private Integer appUserNum=0;

    @ApiModelProperty("异常信息")
    private String errorMassage;

    public Integer getSignInCount() {
        if (signInCount == null) return 0;
        return signInCount;
    }

    public Integer getEnterpriseRecordCount() {
        if (enterpriseRecordCount == null) return 0;
        return enterpriseRecordCount;
    }

    public Integer getVisitCount() {
        if (visitCount == null) return 0;
        return visitCount;
    }

    public Integer getSalaryForecastCount() {
        if (salaryForecastCount == null) return 0;
        return salaryForecastCount;
    }

    public Integer getOneDeliveryCount() {
        if (oneDeliveryCount == null) return 0;
        return oneDeliveryCount;
    }

    public Integer getOneEmailQueryCount() {
        if (oneEmailQueryCount == null) return 0;
        return oneEmailQueryCount;
    }

    public Integer getOneCollectCount() {
        if (oneCollectCount == null) return 0;
        return oneCollectCount;
    }

    public Integer getOneDelivery() {
        if (oneDelivery == null) return 0;
        return oneDelivery;
    }

    public Integer getOneEmailQuery() {
        if (oneEmailQuery == null) return 0;
        return oneEmailQuery;
    }

    public Integer getOneCollect() {
        if (oneCollect == null) return 0;
        return oneCollect;
    }

    public Integer getVisitCustomerCount() {
        if (visitCustomerCount == null) return 0;
        return visitCustomerCount;
    }

    public Integer getIncreaseCustomerCount() {
        if (increaseCustomerCount == null) return 0;
        return increaseCustomerCount;
    }

    public Integer getSignCustomerCount() {
        if (signCustomerCount == null) return 0;
        return signCustomerCount;
    }

    public Integer getActiveUserCount() {
        if (activeUserCount == null) return 0;
        return activeUserCount;
    }
}
